﻿using DocumentFormat.OpenXml.Wordprocessing;
using Magicodes.ExporterAndImporter.Core;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Reports.OrderMaterialDetail.Dtos
{
    public class OrderMaterialConfigDto
    {
        /// <summary>
        /// 物料编码
        /// </summary>
        [ImporterHeader(Name = "物料")]
        [ExporterHeader("物料")]
        public string MaterialCode { get; set; }

        /// <summary>
        /// 新物料编码
        /// </summary>
        [ImporterHeader(Name = "新编码")]
        [ExporterHeader("新编码")]
        public string NewMaterialCode { get; set; }

        /// <summary>
        /// 在售状态
        /// </summary>
        [ImporterHeader(Name = "在售状态")]
        [ExporterHeader("在售状态")]
        public string OnSaleStatus { get; set; }

        /// <summary>
        /// 是否外购
        /// </summary>
        [ImporterHeader(Name = "是否外购")]
        [ExporterHeader("是否外购")]
        public string IsExternalPurchase { get; set; }

        /// <summary>
        /// 毛重
        /// </summary>
        [ImporterHeader(Name = "毛重")]
        [ExporterHeader("毛重")]
        public decimal? GrossWeight { get; set; }
    }
}
